@prefix iop: <https://w3id.org/iadopt/ont/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix ex: <http://example.org/iadopt/HFR> .

<http://example.org/iadopt/ex>
    a 
        iop:Variable ;
    rdfs:label 
        "Median filter quality flag" ;
    rdfs:comment 
        """QC flags labelling radial velocity vectors for which the difference between their module and the median of the modules of all radial vectors lying within a distance of <dLim> km is smaller than the specified threshold for normal operations (curLim), with a "good data" flag. Otherwise, the vector is labelled with a “bad data” flag""" ;
    iop:hasObjectOfInterest 
        <http://vocab.nerc.ac.uk/collection/S29/current/PE001307/> ;
    iop:hasProperty 
        <https://vocab.nerc.ac.uk/collection/S06/current/S0600265/> ;
    iop:hasConstraint 
        [ a iop:Constraint ;
             rdfs:label "good if under threshold value" ;
             iop:constrains <https://vocab.nerc.ac.uk/collection/S06/current/S0600265/> ;
        ] .

<http://vocab.nerc.ac.uk/collection/S29/current/PE001307/>
    a 
        iop:Entity ,
        iop:SymmetricSystem ;
    rdfs:label 
        "difference" ;
    iop:hasPart 
        _:b0 ,
        _:b1 .

<https://vocab.nerc.ac.uk/collection/S06/current/S0600265/>
    a 
        iop:Property ;
    rdfs:label 
        "quality flag" .

_:b0
    a 
        iop:Entity ;
    rdfs:label 
        "magnitude of radial velocity vector" .

_:b1
    a 
        iop:Entity ;
    rdfs:label 
        "median magnitude of all nearby radial velocity vectors within a threshold distance" .
